import Vue from 'vue'
import VueRouter from 'vue-router'
import login from '@/views/login/login.vue'

Vue.use(VueRouter)
const routes = [
  {
    path:'/',
  },

  {
  path: '/login',
  component: login,
  name: 'login'
},

]

const router = new VueRouter({
  routes,
  mode: 'history'
})

export default router
